<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CustomerCreditCardsDataSet" targetNamespace="http://tempuri.org/CustomerCreditCardsDataSet.xsd" xmlns:mstns="http://tempuri.org/CustomerCreditCardsDataSet.xsd" xmlns="http://tempuri.org/CustomerCreditCardsDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="GlobalBankConnection" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="GlobalBankConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.GlobalBankConnection.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CreditCardTableAdapter" GeneratorDataComponentClassName="CreditCardTableAdapter" Name="CreditCard" UserDataComponentName="CreditCardTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="GlobalBankConnection (Web.config)" DbObjectName="[.\APP_DATA\GLOBALBANK.MDF].dbo.sp_CustomerCreditCards" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="True" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>sp_CustomerCreditCards</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="NVarChar" Scale="0" Size="32" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CreditCardNumber" DataSetColumn="CreditCardNumber" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="CreditCardTypeId" DataSetColumn="CreditCardTypeId" />
              <Mapping SourceColumn="CreditLimit" DataSetColumn="CreditLimit" />
              <Mapping SourceColumn="AvailableBalance" DataSetColumn="AvailableBalance" />
              <Mapping SourceColumn="PaymentDue" DataSetColumn="PaymentDue" />
              <Mapping SourceColumn="DateOpened" DataSetColumn="DateOpened" />
              <Mapping SourceColumn="LastPaymentDate" DataSetColumn="LastPaymentDate" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CreditCardTypeTableAdapter" GeneratorDataComponentClassName="CreditCardTypeTableAdapter" Name="CreditCardType" UserDataComponentName="CreditCardTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="GlobalBankConnection (Web.config)" DbObjectName="dbo.CreditCardType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="True" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT CreditCardTypeId, CreditCardType, MaxCreditLimit, Fees, InterestRate FROM dbo.CreditCardType</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CreditCardTypeId" DataSetColumn="CreditCardTypeId" />
              <Mapping SourceColumn="CreditCardType" DataSetColumn="CreditCardType" />
              <Mapping SourceColumn="MaxCreditLimit" DataSetColumn="MaxCreditLimit" />
              <Mapping SourceColumn="Fees" DataSetColumn="Fees" />
              <Mapping SourceColumn="InterestRate" DataSetColumn="InterestRate" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CustomerCreditCardsDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CustomerCreditCardsDataSet" msprop:Generator_DataSetName="CustomerCreditCardsDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="CreditCard" msprop:Generator_UserTableName="CreditCard" msprop:Generator_RowDeletedName="CreditCardRowDeleted" msprop:Generator_TableClassName="CreditCardDataTable" msprop:Generator_RowChangedName="CreditCardRowChanged" msprop:Generator_RowClassName="CreditCardRow" msprop:Generator_RowChangingName="CreditCardRowChanging" msprop:Generator_RowEvArgName="CreditCardRowChangeEvent" msprop:Generator_RowEvHandlerName="CreditCardRowChangeEventHandler" msprop:Generator_TablePropName="CreditCard" msprop:Generator_TableVarName="tableCreditCard" msprop:Generator_RowDeletingName="CreditCardRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CreditCardNumber" msprop:Generator_UserColumnName="CreditCardNumber" msprop:Generator_ColumnPropNameInRow="CreditCardNumber" msprop:Generator_ColumnVarNameInTable="columnCreditCardNumber" msprop:Generator_ColumnPropNameInTable="CreditCardNumberColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreditCardTypeId" msprop:Generator_UserColumnName="CreditCardTypeId" msprop:Generator_ColumnPropNameInRow="CreditCardTypeId" msprop:Generator_ColumnVarNameInTable="columnCreditCardTypeId" msprop:Generator_ColumnPropNameInTable="CreditCardTypeIdColumn" type="xs:int" />
              <xs:element name="CreditLimit" msprop:Generator_UserColumnName="CreditLimit" msprop:Generator_ColumnPropNameInRow="CreditLimit" msprop:Generator_ColumnVarNameInTable="columnCreditLimit" msprop:Generator_ColumnPropNameInTable="CreditLimitColumn" type="xs:decimal" />
              <xs:element name="AvailableBalance" msprop:Generator_UserColumnName="AvailableBalance" msprop:Generator_ColumnPropNameInRow="AvailableBalance" msprop:Generator_ColumnVarNameInTable="columnAvailableBalance" msprop:Generator_ColumnPropNameInTable="AvailableBalanceColumn" type="xs:decimal" />
              <xs:element name="PaymentDue" msprop:Generator_UserColumnName="PaymentDue" msprop:Generator_ColumnPropNameInRow="PaymentDue" msprop:Generator_ColumnVarNameInTable="columnPaymentDue" msprop:Generator_ColumnPropNameInTable="PaymentDueColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="DateOpened" msprop:Generator_UserColumnName="DateOpened" msprop:Generator_ColumnPropNameInRow="DateOpened" msprop:Generator_ColumnVarNameInTable="columnDateOpened" msprop:Generator_ColumnPropNameInTable="DateOpenedColumn" type="xs:dateTime" />
              <xs:element name="LastPaymentDate" msprop:Generator_UserColumnName="LastPaymentDate" msprop:Generator_ColumnPropNameInRow="LastPaymentDate" msprop:Generator_ColumnVarNameInTable="columnLastPaymentDate" msprop:Generator_ColumnPropNameInTable="LastPaymentDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CreditCardType" msprop:Generator_UserTableName="CreditCardType" msprop:Generator_RowDeletedName="CreditCardTypeRowDeleted" msprop:Generator_TableClassName="CreditCardTypeDataTable" msprop:Generator_RowChangedName="CreditCardTypeRowChanged" msprop:Generator_RowClassName="CreditCardTypeRow" msprop:Generator_RowChangingName="CreditCardTypeRowChanging" msprop:Generator_RowEvArgName="CreditCardTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="CreditCardTypeRowChangeEventHandler" msprop:Generator_TablePropName="CreditCardType" msprop:Generator_TableVarName="tableCreditCardType" msprop:Generator_RowDeletingName="CreditCardTypeRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CreditCardTypeId" msprop:Generator_UserColumnName="CreditCardTypeId" msprop:Generator_ColumnPropNameInRow="CreditCardTypeId" msprop:Generator_ColumnVarNameInTable="columnCreditCardTypeId" msprop:Generator_ColumnPropNameInTable="CreditCardTypeIdColumn" type="xs:int" />
              <xs:element name="CreditCardType" msprop:Generator_UserColumnName="CreditCardType" msprop:Generator_ColumnPropNameInRow="CreditCardType" msprop:Generator_ColumnVarNameInTable="columnCreditCardType" msprop:Generator_ColumnPropNameInTable="CreditCardTypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaxCreditLimit" msprop:Generator_UserColumnName="MaxCreditLimit" msprop:Generator_ColumnPropNameInRow="MaxCreditLimit" msprop:Generator_ColumnVarNameInTable="columnMaxCreditLimit" msprop:Generator_ColumnPropNameInTable="MaxCreditLimitColumn" type="xs:decimal" />
              <xs:element name="Fees" msprop:Generator_UserColumnName="Fees" msprop:Generator_ColumnPropNameInRow="Fees" msprop:Generator_ColumnVarNameInTable="columnFees" msprop:Generator_ColumnPropNameInTable="FeesColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="InterestRate" msprop:Generator_UserColumnName="InterestRate" msprop:Generator_ColumnPropNameInRow="InterestRate" msprop:Generator_ColumnVarNameInTable="columnInterestRate" msprop:Generator_ColumnPropNameInTable="InterestRateColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CreditCard" />
      <xs:field xpath="mstns:CreditCardNumber" />
    </xs:unique>
    <xs:unique name="CreditCardType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CreditCardType" />
      <xs:field xpath="mstns:CreditCardTypeId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_CreditCards_CreditCardType" msdata:parent="CreditCardType" msdata:child="CreditCard" msdata:parentkey="CreditCardTypeId" msdata:childkey="CreditCardTypeId" msprop:Generator_UserRelationName="FK_CreditCards_CreditCardType" msprop:Generator_RelationVarName="relationFK_CreditCards_CreditCardType" msprop:Generator_UserChildTable="CreditCard" msprop:Generator_UserParentTable="CreditCardType" msprop:Generator_ParentPropName="CreditCardTypeRow" msprop:Generator_ChildPropName="GetCreditCardRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>